package com.ruleengine.instruction.impl;

import com.ruleengine.instruction.InstructionType;

public class InvokerInstruction extends BaseInstruction {
    private String target;
    private String invokerType;
    
    public InvokerInstruction() {
        super(InstructionType.INVOKER);
    }

    public String getTarget() {
        return this.target;
    }

    public void setTarget(String target) {
        this.target = target;
    }
    
    public String getInvokerType() {
        return invokerType;
    }

    public void setInvokerType(String invokerType) {
        this.invokerType = invokerType;
    }
    
    @Override
    public String toString() {
        return "{" + super.toString() + "," +invokerType+":"+ target + "}";
    }

}
